package com.blue.service;

import com.blue.exceptions.MoneyNotEnoughException;
import com.blue.exceptions.TransferException;

public interface AccountService {

    /**
     * 账户转账业务
     *
     * @param fromActno 转出账号
     * @param toActno   转入账号
     * @param money     转账金额
     */
    void transfer(String fromActno, String toActno, Double money) throws MoneyNotEnoughException, TransferException;

}
